package com.zan.springcloud.dao;

import com.zan.springcloud.domain.CommonResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author Zan
 * @Create 2024/1/7 16:16
 * @Description :
 */
@Mapper
public interface StorageDao {

    // 扣减库存
    void decrease(@Param("productId") Long productId,
                  @Param("count") Integer count);
}
